class CreateUsers < ActiveRecord::Migration

  def self.up
    create_table :users do |t|
      t.column :email, :string, :null => false
      t.column :full_name, :string, :null => false
      t.column :password_hash, :string
      t.column :login_key, :string
      t.column :login_key_expires_at, :datetime

      t.column :created_at, :datetime
      t.column :updated_at, :datetime

    end
  end

  def self.down
    drop_table :users
  end

end
